import { defHttp } from '/@/utils/http/axios';
import { useGlobSetting } from '/@/hooks/setting';
import { BasicModel, Page } from '/@/api/model/baseModel';

const { adminPath } = useGlobSetting();

export interface EquipmentStatus extends BasicModel<EquipmentStatus> {
  FireInfoId?:number;//设备详情Id
}

export const EquipmentStatus = (params?: any, data?: EquipmentStatus | any) =>
  defHttp.postJson<EquipmentStatus>({ url: adminPath + '/management/inFireInfo/equipmentStatus', params, data });